{assign var=formId value='formLogin'}
<div id="content">
    <div class="changepass">
        <h2>{l s='Change pass'}:</h2>
        <form action="{$url->getUrl('changepass')}" method="post" name="{$formId}">
            <fieldset>
                <p>{l s='Please enter current password and new password to change'}</p>
                {if isset($error)}<p class="error">{$error}</p>{/if}
                <p>
                    <label for="oldpass">{l s='Current password'}</label>
                    <input type="password" name="oldpass" id="oldpass" value="{if isset($oldpass)}{$oldpass}{/if}"/>
                </p>
                <p>
                    <label for="newpass">{l s='New password'}</label>
                    <input type="password" type="newpass" value="{if isset($newpass)}{$newpass}{/if}" name="newpass" id="newpass" />
                </p>
                <p>
                    <label for="newpass">{l s='Comfim password'}</label>
                    <input type="password" type="renewpass" value="{if isset($renewpass)}{$renewpass}{/if}" name="renewpass" id="renewpass" />
                </p>
                <p class="btnType">
                    <span><input type="submit" value="{l s='Update'}" title="{l s='Update'}" name="btnSubmit" /></span>
                    <span><input type="reset" value="{l s='reset'}" title="{l s='reset'}" name="btnReset" /></span>
                </p>
            </fieldset>
        </form>
    </div>
</div>